home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM This is HEXSIZE.BAT
- IF %1!==! GOTO OOPS
- REM Be sure "rcx" in next line is lowercase
- ECHO rcx > SCR
- ECHO. >> SCR
- ECHO Q >> SCR
- ECHO @ECHO OFF> CX.BAT
- ECHO ECHO Length (in hex) is %%1 >> CX.BAT
- DEBUG %1 < SCR | FIND "CX" > GO.BAT
- CALL GO
- DEL SCR
- DEL CX.BAT
- GOTO END
- :OOPS
- ECHO Enter name of file whose length
- ECHO you want in hex notation
- :END
-